<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>会员注册</title>
	</head>
	<body>
		<form action="#" method="post" name="name1">
			<table width="300" border="0" cellpadding="10" cellspacing="1">
				<tr>
					<td colspan="2"><h4>会员注册</h4></td>
				</tr>
				<tr>
					<td>用户名：</td>
					<td><input type="text" pattern="^\w{6,12}$" required autofocus name="username" id="username" placeholder="你的账号(6-12个英文字母)"/></td>
				</tr>
		<tr>
			<td>密码：</td>
			<td><input type="password" required name="userpwd" id="userpwd" placeholder="请输入密码"/></td>
		</tr>
		<tr>
			<td>性别：</td>
			<td><label for="nan">男</label><input type="radio" name="sex" value="男" checked="checked" id="nan"/><label for="nv">女</label><input type="radio" name="sex" value="女" id="nv"/></td>
		</tr>
		<tr>
			<td>地区</td>
			<td>省份：<select>
				<option selected="selected">北京</option>
				<option>上海</option>
				<option>河南</option>
				<option>河北</option>
				<option>新疆</option>
			</select>
		</tr>
		<tr>
			<td>收入</td>
			<td><select>
				<option selected="selected">1000以下</option>
				<option>1001-2000</option>
				<option>2001-3000</option>
				<option>3001-4000</option>
				<option>4001-5000</option>
				<option>5000以上</option>
			</select>
		</tr>
		<tr>
			<td>爱好：</td>
			<td>打篮球<input type="checkbox" name="hobby" value="play"/>睡觉<input type="checkbox" name="hobby" value="sleep"/>唱歌<input type="checkbox" name="hobby" value="sing"/></td>
		</tr>
		<tr>
			<td>电子邮箱：</td>
			<td><input type="email" required name="email" id="email" placeholder="请输入email" maxlength="40"/></td></td>
		</tr>
		<tr>
			<td>生日：</td>
			<td><input type="date"min="1980-01-01" max="2020-01-01" name="bir" id="bir" value="1980-01-01"/>
			</td>
		</tr>
		<tr>
			<td>博客地址：</td>
			<td><input type="text" name="blog" id="blog"placeholder="请输入博客" maxlength="40"/></td>
		</tr>
		<tr>
			<td>年龄：</td>
			<td><input type="number" name=age" value="18" autocomplete="off" placeholder="年龄"/></td>
		</tr>
		<tr>
			<td>工作年限</td>
			<td><intput type="range" min="1" step="1" max="20" name="slider" name="workage" id="workage" placeholder="你的工作年限" value="1"/></td>
		</tr>
		<tr>
			<td>个人简介：</td>
			<td><textarea rows="5" cols="20" name="write">
				 个人简介
			</textarea></td>
		</tr>
		</table>
		<input type="submit" value="提交"/>
		<input type="reset" value="重置" />
		</form>
	</body>
</html>